﻿using System;
using System.Collections.ObjectModel;
namespace MP3Ganizer.BusinessObject.Services.Configuration
{
    public interface IConfigurationService
    {
        bool GetInfo(InfoType type, out object info);
        bool GetInfos<T>(InfoType type, out System.Collections.Generic.IEnumerable<T> info) where T : class;
        void GetInfosObservable(InfoType type, ObservableCollection<string> infos);
        void LoadConfig();
        void PersistConfig();
        void SetInfo(InfoType type, object newInfo);
        void SetInfo(InfoType type, object newInfo, object oldInfo);
        bool DeleteInfos<T>(InfoType infoType, T artistToreplace) where T : class;
    }
}
